home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / tools / Makefile < prev    next >
Encoding:
Makefile  |  1989-10-17  |  1.9 KB  |  77 lines

  1. # Begin Generic
  2. STDWIN=        ..
  3. CONF=        $(STDWIN)/conf
  4. H=        $(STDWIN)/h
  5. TOOLS=        $(STDWIN)/tools
  6. ALFA=        $(STDWIN)/alfa
  7. MG1=        $(STDWIN)/mg1
  8. X11=        $(STDWIN)/x11
  9. X11LIBS=    $(X11)/lib.a $(LIBX11)
  10. LIBX11=        $(LIBXLIB)/libX11.a
  11. LIBXT=        $(LIBXLIB)/libXaw.a $(LIBXLIB)/libXt.a
  12. XTLIBS=        $(STDWIN)/xt/lib.a $(LIBXT) $(LIBX11)
  13. STUBS=        $(STDWIN)/stubs
  14. INCLUDES=    -I$(H) $(SYSINCLUDES) $(SITEINCLUDES) $(LINCLUDES)
  15. DEFS=        $(SYSDEFS) $(SITEDEFS) $(LDEFS)
  16. CPPFLAGS=    $(DEFS) $(INCLUDES)
  17. OPTIONS=    $(SYSOPTIONS) $(SITEOPTIONS) $(LOPTIONS)
  18. CFLAGS=        $(CPPFLAGS) $(OPTIONS)
  19. LDFLAGS=    $(OPTIONS)
  20. LINTFLAGS=    -bhv
  21. LINT=        lint
  22. # End Generic
  23. # Begin Sys.bsd42
  24. SYSINCLUDES=    
  25. SYSDEFS=    -DNO_MEMCPY -DNO_VOID_FPTR
  26. SYSOPTIONS=    
  27. LIBXLIB=    /usr/lib
  28. # End Sys.bsd42
  29. # Begin Make.conf
  30. OBJS=        endian.o getopt.o glob.o monocase.o strdup.o swap.o
  31. SRCS=        endian.c getopt.c glob.c monocase.c strdup.c swap.c
  32. all:        $(OBJS)
  33. # End Make.conf
  34. # Begin Rules
  35. all:        Makefile
  36.  
  37. Makefile:    $(CONF)/Generic $(CONF)/Rules $(CONF)/mkmk Make.conf
  38.         @echo "Makefile out-of-date -- rerun $(CONF)/mkmk"; exit 1
  39.  
  40. depend:        $(SRCS)
  41.         $(CONF)/mkdep $(CPPFLAGS) $(SRCS) >@mkdep
  42.  
  43. tags:        $(SRCS) $(HDRS)
  44.         ctags -w $(SRCS) $(HDRS)
  45.  
  46. clean::
  47.         -rm -f core *.o [,@#]*
  48.  
  49. clobber::    clean
  50.         -rm -f lib.a tags *.[A-Z]
  51.  
  52. lint:        $(SRCS) $(HDRS)
  53.         $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(SRCS) $(LINTLIBS)
  54. # End Rules
  55. endian.o: endian.c
  56. endian.o: ../h/endian.h
  57. getopt.o: getopt.c
  58. getopt.o: ../h/configure.h
  59. glob.o: glob.c
  60. glob.o: /usr/include/stdio.h
  61. glob.o: /usr/include/strings.h
  62. glob.o: /usr/include/ctype.h
  63. glob.o: /usr/include/pwd.h
  64. glob.o: /usr/include/sys/types.h
  65. glob.o: /usr/include/sys/sysmacros.h
  66. glob.o: /usr/include/sys/dir.h
  67. monocase.o: monocase.c
  68. monocase.o: /usr/include/ctype.h
  69. strdup.o: strdup.c
  70. strdup.o: ../h/tools.h
  71. strdup.o: ../h/configure.h
  72. strdup.o: /usr/include/stdio.h
  73. strdup.o: /usr/include/ctype.h
  74. strdup.o: /usr/include/strings.h
  75. strdup.o: ../h/l_defs.h
  76. swap.o: swap.c
  77.